home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.1
/
newalias.1
< prev
next >
Wrap
Text File
|
1995-07-25
|
5KB
|
133 lines
NNNNEEEEWWWWAAAALLLLIIIIAAAASSSS((((1111LLLL))))UUUUSSSSEEEENNNNEEEETTTT CCCCoooommmmmmmmuuuunnnniiiittttyyyy TTTTrrrruuuusssstttt ((((EEEEllllmmmm VVVVeeeerrrrssssiiiioooonnnn 2222....4444)))) NNNNEEEEWWWWAAAALLLLIIIIAAAASSSS((((1111LLLL))))
NNNNAAAAMMMMEEEE
newalias - install new elm aliases for user and/or system
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
nnnneeeewwwwaaaalllliiiiaaaassss [-g]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_N_e_w_a_l_i_a_s creates new hash and data files from a text file.
If the program is invoked with the -_g (global) flag, the
program updates the system alias files. Otherwise, the
program looks for a file called $_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s._t_e_x_t and,
upon finding it, creates files $_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s._d_i_r,
$_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s._p_a_g and $_H_O_M_E/._e_l_m/_a_l_i_a_s_e_s for the _e_l_m
program.
The format that the program expects is;
alias, alias, .. = comment = address
or
alias, alias, .. = comment = alias, alias, ...
The first form is for an individual user such as;
dave, taylor = Dave Taylor = veeger!hpcnou!dat
or optionally as;
dave, taylor = Taylor; Dave = veeger!hpcnou!dat
to allow the aliases to be properly sorted by last name.
The second is for defining a group alias such as;
gurus = Unix Gurus = alan, john, dave, mike, richard,
larry, t_richardson
Note that lines can be continued at will, blank lines are
accepted without error, and that any line starting with '#'
is considered a comment and is not processed.
If the `comment', or `address' fields need to contain `='
characters, those characters must either be escaped using a
backslash character or the address must be inside
doublequotes (`"').
Aliases are case insensitive so dave and Dave are both the
same alias.
Finally, aliases can contain other aliases, and/or groups;
unix = Unix people = gurus, taylor, jonboy
Page 1 (printed 7/15/95)
NNNNEEEEWWWWAAAALLLLIIIIAAAASSSS((((1111LLLL))))UUUUSSSSEEEENNNNEEEETTTT CCCCoooommmmmmmmuuuunnnniiiittttyyyy TTTTrrrruuuusssstttt ((((EEEEllllmmmm VVVVeeeerrrrssssiiiioooonnnn 2222....4444)))) NNNNEEEEWWWWAAAALLLLIIIIAAAASSSS((((1111LLLL))))
FFFFIIIILLLLEEEESSSS
$HOME/.elm/aliases.text alias source for user
$HOME/.elm/aliases.dir alias dbz directory for user
$HOME/.elm/aliases.pag alias dbz hash file for user
$HOME/.elm/aliases alias data file for user
/usr/local/lib/aliases.text alias source for system
/usr/local/lib/aliases.dir alias dbz directory for
system
/usr/local/lib/aliases.pag alias data hash table for
system
/usr/local/lib/aliases alias data file for system
AAAAUUUUTTTTHHHHOOOORRRR
Elm Development Group
SSSSEEEEEEEE AAAALLLLSSSSOOOO
elm(1L), elmalias(1L), checkalias(1L), mail(1), mailx(1)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Newalias has a couple of descriptive error messages which
don't need to be detailed here. It is, however, worth
noting that the _c_h_e_c_k_a_l_i_a_s program can be used to ensure
that the aliases are in the proper order and are available
for the _e_l_m system.
BBBBUUUUGGGG RRRREEEEPPPPOOOORRRRTTTTSSSS TTTTOOOO
Syd Weinstein elm@DSI.COM (dsinc!elm)
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTTSSSS
Copyright 1988-1992 by The USENET Community Trust
Derived from Elm 2.0, Copyright 1986, 1987 by Dave Taylor
Page 2 (printed 7/15/95)